.TH E1432_GET_CURRENT_RPM 3 E1432
.SH NAME
.nf
e1432_get_current_rpm \- Get the current RPM of a tachometer channel
e1432_get_data_rpm \- Get the arming RPM of last data block
e1432_get_next_arm_rpm \- Get the arming RPM for the next data block
.fi
.IX e1432_get_current_rpm(3) 3
.IX e1432_get_data_rpm(3) 3
.IX e1432_get_next_arm_rpm(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_get_current_rpm(E1432ID hw, SHORTSIZ16 ID,
                                 FLOATSIZ32 *rpm)
SHORTSIZ16 e1432_get_data_rpm(E1432ID hw, SHORTSIZ16 ID,
                              FLOATSIZ32 *rpm)
SHORTSIZ16 e1432_get_next_arm_rpm(E1432ID hw, SHORTSIZ16 ID,
                                  FLOATSIZ32 *rpm)
.cE
.SH DESCRIPTION
\fIe1432_get_current_rpm\fR returns the current RPM of an active
tachometer channel into the variable pointed to by \fIrpm\fR.

\fIe1432_get_data_rpm\fR returns the trigger RPM for the last data
block into the variable pointed to by \fIrpm\fR.  This information is
also available in the data block trailer if the trailer has been
enabled using \fIe1432_set_append_status\fR.  This is only meaningful
in one of the RPM arming modes set by \fIe1432_set_arm_mode\fR.

\fIe1432_get_next_arm_rpm\fR returns the arming RPM for the next data
block that will be acquired.  The measurement will arm when this RPM
value is reached.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is a channel ID of a specific tachometer channel.

\fIrpm\fR is a pointer to a 32-bit float which will be filled in with
the requested RPM value.
.SH "RESET VALUE"
After a reset, \fIrpm\fR is set to 0.0.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_set_arm_mode, e1432_set_append_status
.ad
